\documentclass{article}
\usepackage{svg}
\begin{document}

\section{Red and blue squares}

\includesvg[width=0.5\textwidth]{files/Svg_example3.svg}

\section{Red, blue and green squares}

\includesvg[width=0.5\textwidth]{files/Svg_example3b.svg}

\section{More advanced example}

\includesvg[width=0.5\textwidth]{files/SVG_Test_TextAlign.svg}

\end{document}